#ifndef __HAL_CRC_SW_H__
#define __HAL_CRC_SW_H__
#include <stdint.h>

#define CRC_INV_ENABLE                       (1)
#define CRC_INV_DISABLE                      (0)

// uint16_t CRC_Calculate_SW(uint16_t u16Init, uint8_t *pu8CmdBuf, uint8_t u8CmdLen, uint8_t* pu8Data, uint16_t u16DataLen);
uint16_t CRC_Calculate_SW(uint16_t crc_ini, uint8_t crc_inv, uint8_t *crc_din, uint32_t size);


#endif


